package com.pactera.asmp.server.entity;

import com.pactera.asmp.server.common.utils.FastJsonUtil;

import java.io.Serializable;

/**
 * @ProjectName: tlsserver
 * @Package com.pactera.asmp.server.entity
 * @ClassName: MasterComputerSearchDTO
 * @Description: MasterComputerSearchDTO
 * @Date 2020/06/24 11:33
 * @Author lvzhiqiang
 * @Version 1.0
 */
public class MasterComputerSearchDTO implements Serializable {

    private Integer id;
    /**
     * 页码
     */
    private Integer page;
    /**
     * 页数据限制
     */
    private Integer limit;

    /**
     * 上位机唯一标识码
     */
    private String cuid;
    /**
     * 上位机名称
     */
    private String name;
    /**
     * 上位机MAC地址
     */
    private String mac;
    /**
     * 上位机IPV4地址
     */
    private String ip;
    /**
     * 系统版本
     */
    private String osType;
    /**
     * 上位机状态\n0-离线\n1-在线\n2-停用
     */
    private int status;
    /**
     * 首次注册时间
     */
    private String registerTime;
    /**
     * 最后断开时间
     */
    private String disconnectTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getCuid() {
        return cuid;
    }

    public void setCuid(String cuid) {
        this.cuid = cuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getOsType() {
        return osType;
    }

    public void setOsType(String osType) {
        this.osType = osType;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public String getDisconnectTime() {
        return disconnectTime;
    }

    public void setDisconnectTime(String disconnectTime) {
        this.disconnectTime = disconnectTime;
    }

    @Override
    public String toString() {
        return FastJsonUtil.BeanToJson(this);
    }

}
